package com.example.urmsadmin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (SysUserWallet)实体类
 *
 * @author makejava
 * @since 2023-02-24 16:35:45
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_user_wallet")
public class SysUserWallet implements Serializable {
    private static final long serialVersionUID = 549901000700200561L;

    @TableId(type = IdType.AUTO)
    private Long userWalletId;
    
    private Long userId;
    
    private BigDecimal balance;
    
    private Date lastUpdateTime;
    
    private Date createTime;


    public Long getUserWalletId() {
        return userWalletId;
    }

    public void setUserWalletId(Long userWalletId) {
        this.userWalletId = userWalletId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}

